home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AppleVision - The Multimedia Monitor
/
AppleVision - The Multimedia Monitor (Apple Computer).iso
/
SimpleText
/
SimpleText.rsrc
/
CODE_4_Initialize.txt
< prev
next >
Wrap
Text File
|
1995-07-27
|
19KB
|
333 lines
# near model CODE resource
# jump table entries: 328-328 (1 of them)
export_41:
00000000 4E56 FFF8 link A6, -0x0008
00000004 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
00000008 7C00 moveq.l D6, 0x00
0000000A 486D FEC6 pea.l [A5 - 0x13A]
0000000E A86E syscall InitGraf
00000010 A8FE syscall InitFonts
00000012 A912 syscall InitWindows
00000014 A930 syscall InitMenus
00000016 A9CC syscall TEInit
00000018 7000 moveq.l D0, 0x00
0000001A 2F00 move.l -[A7], D0
0000001C A97B syscall InitDialogs
0000001E A850 syscall InitCursor
00000020 422D F468 clr.b [A5 - 0xB98]
00000024 7E01 moveq.l D7, 0x01
label00000026:
00000026 558F subq.l A7, 2
00000028 70FF moveq.l D0, 0xFFFFFFFF
0000002A 3F00 move.w -[A7], D0
0000002C 486D F46A pea.l [A5 - 0xB96]
00000030 A971 syscall EventAvail
00000032 544F addq.w A7, 2
00000034 5247 addq.w D7, 1
00000036 0C47 0003 cmpi.w D7, 0x3
0000003A 6FEA ble -0x14 /* 00000026 */
0000003C 7001 moveq.l D0, 0x01
0000003E 43ED F448 lea.l A1, [A5 - 0xBB8]
00000042 2049 movea.l A0, A1
00000044 A090 syscall SysEnvirons
00000046 0C6D 0700 F44C cmpi.w [A5 - 0xBB4], 0x700
0000004C 6C06 bge +0x8 /* 00000054 */
0000004E 2C3C 0000 00CC move.l D6, 0xCC
label00000054:
00000054 4A86 tst.l D6
00000056 6600 02E4 bne +0x2E6 /* 0000033C */
0000005A 426D F45E clr.w [A5 - 0xBA2]
0000005E 422D F458 clr.b [A5 - 0xBA8]
00000062 7001 moveq.l D0, 0x01
00000064 2B40 F45A move.l [A5 - 0xBA6], D0
00000068 203C 7174 696D move.l D0, 0x7174696D /* 'qtim' */
0000006E 41EE FFFC lea.l A0, [A6 - 0x4]
00000072 2248 movea.l A1, A0
00000074 A1AD syscall Gestalt, flags=1
00000076 2288 move.l [A1], A0
00000078 4A40 tst.w D0
0000007A 57C3 seq D3
0000007C 4403 neg.b D3
0000007E 1B43 F460 move.b [A5 - 0xBA0], D3
00000082 7600 moveq.l D3, 0x00
00000084 2F03 move.l -[A7], D3
00000086 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */
0000008C 41EE FFFC lea.l A0, [A6 - 0x4]
00000090 2248 movea.l A1, A0
00000092 A1AD syscall Gestalt, flags=1
00000094 2288 move.l [A1], A0
00000096 261F move.l D3, [A7]+
00000098 4A40 tst.w D0
0000009A 660A bne +0xC /* 000000A6 */
0000009C 7020 moveq.l D0, 0x20
0000009E C0AE FFFC and.l D0, [A6 - 0x4]
000000A2 6702 beq +0x4 /* 000000A6 */
000000A4 7601 moveq.l D3, 0x01
label000000A6:
000000A6 1B43 F461 move.b [A5 - 0xB9F], D3
000000AA 7600 moveq.l D3, 0x00
000000AC 2F03 move.l -[A7], D3
000000AE 203C 7474 7363 move.l D0, 0x74747363 /* 'ttsc' */
000000B4 41EE FFFC lea.l A0, [A6 - 0x4]
000000B8 2248 movea.l A1, A0
000000BA A1AD syscall Gestalt, flags=1
000000BC 2288 move.l [A1], A0
000000BE 261F move.l D3, [A7]+
000000C0 4A40 tst.w D0
000000C2 660A bne +0xC /* 000000CE */
000000C4 7001 moveq.l D0, 0x01
000000C6 C0AE FFFC and.l D0, [A6 - 0x4]
000000CA 6702 beq +0x4 /* 000000CE */
000000CC 7601 moveq.l D3, 0x01
label000000CE:
000000CE 1B43 F462 move.b [A5 - 0xB9E], D3
000000D2 203C 7164 6778 move.l D0, 0x71646778 /* 'qdgx' */
000000D8 41EE FFFC lea.l A0, [A6 - 0x4]
000000DC 2248 movea.l A1, A0
000000DE A1AD syscall Gestalt, flags=1
000000E0 2288 move.l [A1], A0
000000E2 4A40 tst.w D0
000000E4 57C3 seq D3
000000E6 4403 neg.b D3
000000E8 1B43 F463 move.b [A5 - 0xB9D], D3
000000EC 7600 moveq.l D3, 0x00
000000EE 2F03 move.l -[A7], D3
000000F0 203C 7473 6D76 move.l D0, 0x74736D76 /* 'tsmv' */
000000F6 41EE FFFC lea.l A0, [A6 - 0x4]
000000FA 2248 movea.l A1, A0
000000FC A1AD syscall Gestalt, flags=1
000000FE 2288 move.l [A1], A0
00000100 261F move.l D3, [A7]+
00000102 4A40 tst.w D0
00000104 660A bne +0xC /* 00000110 */
00000106 7001 moveq.l D0, 0x01
00000108 B0AE FFFC cmp.l D0, [A6 - 0x4]
0000010C 6E02 bgt +0x4 /* 00000110 */
0000010E 7601 moveq.l D3, 0x01
label00000110:
00000110 1B43 F464 move.b [A5 - 0xB9C], D3
00000114 7600 moveq.l D3, 0x00
00000116 2F03 move.l -[A7], D3
00000118 203C 746D 5445 move.l D0, 0x746D5445 /* 'tmTE' */
0000011E 41EE FFFC lea.l A0, [A6 - 0x4]
00000122 2248 movea.l A1, A0
00000124 A1AD syscall Gestalt, flags=1
00000126 2288 move.l [A1], A0
00000128 261F move.l D3, [A7]+
0000012A 4A40 tst.w D0
0000012C 660A bne +0xC /* 00000138 */
0000012E 7001 moveq.l D0, 0x01
00000130 C0AE FFFC and.l D0, [A6 - 0x4]
00000134 6702 beq +0x4 /* 00000138 */
00000136 7601 moveq.l D3, 0x01
label00000138:
00000138 1B43 F465 move.b [A5 - 0xB9B], D3
0000013C 7600 moveq.l D3, 0x00
0000013E 2F03 move.l -[A7], D3
00000140 203C 6472 6167 move.l D0, 0x64726167 /* 'drag' */
00000146 41EE FFFC lea.l A0, [A6 - 0x4]
0000014A 2248 movea.l A1, A0
0000014C A1AD syscall Gestalt, flags=1
0000014E 2288 move.l [A1], A0
00000150 261F move.l D3, [A7]+
00000152 4A40 tst.w D0
00000154 662A bne +0x2C /* 00000180 */
00000156 7001 moveq.l D0, 0x01
00000158 C0AE FFFC and.l D0, [A6 - 0x4]
0000015C 6722 beq +0x24 /* 00000180 */
0000015E 2F03 move.l -[A7], D3
00000160 203C 7465 6174 move.l D0, 0x74656174 /* 'teat' */
00000166 41EE FFFC lea.l A0, [A6 - 0x4]
0000016A 2248 movea.l A1, A0
0000016C A1AD syscall Gestalt, flags=1
0000016E 2288 move.l [A1], A0
00000170 261F move.l D3, [A7]+
00000172 4A40 tst.w D0
00000174 660A bne +0xC /* 00000180